<%-- 
    Document   : CanjeLetras
    Created on : 22/09/2010, 07:55:49 PM
    Author     : Administrador
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

    <f:view>
            <%@include file="../WEB-INF/jspf/html_inicio.jspf" %>
    <%@include file="../WEB-INF/jspf/cabecera.jspf" %>
    <%@include file="../WEB-INF/jspf/navbar.jspf" %>
    <%@include file="../WEB-INF/jspf/cuadro_inicio.jspf" %>
    <%@include file="../WEB-INF/jspf/menu_principal.jspf" %>
    <%@include file="../WEB-INF/jspf/cuadro_medio.jspf" %>
    <%@include file="../WEB-INF/jspf/bloque_inicio.jspf" %>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
             <link rel=stylesheet type="text/css" href="/edu.upn.sigeadmi.cxc-war/style.css">
            <title>Canje de Letras por Cobrar</title>
     </head>
        <body>
       <table>
                <tr>
                    <td width="50">

                    </td>
                    <td>
                    <h2><h:outputText value="Generación de Letras por Pagar"/></h2>
                            <h:form id="frmGeneracionLetras">
  <fieldset>
  <legend>Canje de Letras</legend>
       <h:panelGrid columns="2">
           <strong>Cuenta Pendiente:</strong> <h:inputText id="cuentaPendiente" value="#{LetraPendientePagoController.cuentPendientePago.pkCuentaPendientePago}"/>

           <strong>Cliente:</strong> <h:inputText id="cliente" value=""/>
 
                    <strong>Tasa de Interes:</strong
                    <h:selectOneMenu id="cmbTasaInteres" value="#{TasaInteresController.tasainteres.pkTasaInteres}" required="true"  >
                        <f:selectItems  value="#{TasaInteresController.listaInteres}" ></f:selectItems>
                           
                    </h:selectOneMenu> 
                    <strong>Número de Letras:</strong>   <h:inputText id="Nroletras" value=""/>
                                        
                                      <strong>Fecha de Vencimiento:</strong>  <h:inputText id="fechaVencimiento"/>
                                       
                  </h:panelGrid>
 </fieldset>
                      <h:commandButton  id="btnGuardar"   alt="Grabar" image="/RegPago/IMGS/SAVE.BMP" action="#{LetraPendientePagoController.generarLetras}" />
            </h:form>
                    </td>
                    <td>

                    </td>

                </tr>
            </table>
                <div class="centrar">
            <a href="#"><img src="/edu.upn.sigeadmi.cxc-war/img/logo_ta_resize.png" border="0"/></a>
        </div>
<%@include file="../WEB-INF/jspf/bloque_fin.jspf" %>
    <%@include file="../WEB-INF/jspf/cuadro_fin.jspf" %>
    <%@include file="../WEB-INF/jspf/pie.jspf" %>
    <%@include file="../WEB-INF/jspf/html_fin.jspf" %>
        </body>
        </f:view>

    </html>
